Logout
Terminate the session
Request to be POSTed to uri : /NorenWClientTP/Logout
Example:
ret = api.logout()
Request Details :
Parameter Name | Possible value | Description |
---|---|---|
jData* | Should send json object with fields in below list | |
jKey* | Key Obtained on login success. |
Json Fields | Possible value | Description |
---|---|---|
uid* | User Id of the login user |
Response Details :
Response data will be in json format with below fields.
Json Fields | Possible value | Description |
---|---|---|
stat | Ok or Not_Ok | Logout Success Or failure status |
request_time | It will be present only on successful logout. | |
emsg | This will be present only if Logout fails. |
Sample Success Response :
{
"stat":"Ok",
"request_time":"10:43:41 28-05-2020"
}
Sample Failure Response :
{
"stat":"Not_Ok",
"emsg":"Server Timeout : "
}